#include"List.h"

int main()
{
	SeqList psl;
	SeqListInit(&psl);
	SeqListPushBack(&psl, 3);
	SeqListPushBack(&psl, 2);
	SeqListPushBack(&psl, 1);
	SeqListPushBack(&psl, 1);
	SeqListPushBack(&psl, 1);
	SeqListPushBack(&psl,1);
	SeqListPrint(psl);

	SeqListPopBack(&psl);
	SeqListPopBack(&psl);
	SeqListPopBack(&psl);
	SeqListPrint(psl);

	SeqListPushFront(&psl, 4);
	SeqListPushFront(&psl, 5);
	SeqListPushFront(&psl, 6);
	SeqListPushFront(&psl, 7);
	SeqListPrint(psl);

	SeqListPopFront(&psl);
	SeqListPopFront(&psl);
	SeqListPopFront(&psl);
	SeqListPopFront(&psl);
	SeqListPrint(psl);

	int ret = SeqListFind(&psl, 3);
	printf("%d\n", ret);

	SeqListDestory(&psl);
	SeqListPrint(psl);

	return 0;
}